package com.data.entity;

import java.util.Date;

/**
 * 设备状态每日统计表
 * 根据状态分类统计每种状态持续时间及耗电
 * @author Administrator
 *
 */
public class StateDay {
	    private Integer id;//主键，自增
	    private Integer equId;//设备id
		private String stateType;//设备状态
	    private Double duration;//持续时间(秒)
	    private Double relativeComp;//相对耗电
	    private Date belongDate;//所属日期   
	    
	    
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public Integer getEquId() {
			return equId;
		}
		public void setEquId(Integer equId) {
			this.equId = equId;
		}
		public String getStateType() {
			return stateType;
		}
		public void setStateType(String stateType) {
			this.stateType = stateType;
		}
		public Double getDuration() {
			return duration;
		}
		public void setDuration(Double duration) {
			this.duration = duration;
		}
		public Double getRelativeComp() {
			return relativeComp;
		}
		public void setRelativeComp(Double relativeComp) {
			this.relativeComp = relativeComp;
		}
		public Date getBelongDate() {
			return belongDate;
		}
		public void setBelongDate(Date belongDate) {
			this.belongDate = belongDate;
		}
}
